package com.bidevalution.business.impl;

import com.bidevalution.business.context.SectionMessage;
import com.bidevalution.business.service.BeSectionMessageService;
import com.bidevalution.dao.entity.BeSectionMessage;
import com.bidevalution.dao.mapper.BeSectionMessageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class BeSectionMessageImpl implements BeSectionMessageService{
	@Autowired
	private BeSectionMessageMapper beSectionMessageMapper;

	@Override
	public BeSectionMessage selectBySectionId(String sectionId, SectionMessage sectionMessage) {
		return beSectionMessageMapper.selectBySectionId(sectionId, sectionMessage.getCode());
	}

	@Override
	public BeSectionMessage selectBySectionStepId(String sectionStepId, SectionMessage sectionMessage) {
		return beSectionMessageMapper.selectByStepId(sectionStepId, sectionMessage.getCode());
	}
	
}
